<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:58276/Service/CustomerMasterService.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/SMS.Entities" />
  <xs:import schemaLocation="http://localhost:58276/Service/CustomerMasterService.svc?xsd=xsd6" namespace="http://schemas.datacontract.org/2004/07/SMS.DAL" />
  <xs:element name="SaveCustomer">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="userName" nillable="true" type="xs:string" />
        <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/SMS.Entities" minOccurs="0" name="customer" nillable="true" type="q1:Customer" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SaveCustomerResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="SaveCustomerResult" type="xs:int" />
        <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/SMS.Entities" minOccurs="0" name="serviceError" nillable="true" type="q2:SMSException" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SearchCustomer">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="userName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="searchText" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SearchCustomerResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/SMS.Entities" minOccurs="0" name="SearchCustomerResult" nillable="true" type="q3:ArrayOfCustomer" />
        <xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/SMS.Entities" minOccurs="0" name="serviceError" nillable="true" type="q4:SMSException" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetCustomerTransaction">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="userName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="customerID" type="xs:int" />
        <xs:element minOccurs="0" name="fromDate" type="xs:dateTime" />
        <xs:element minOccurs="0" name="toDate" type="xs:dateTime" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetCustomerTransactionResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q5="http://schemas.datacontract.org/2004/07/SMS.Entities" minOccurs="0" name="GetCustomerTransactionResult" nillable="true" type="q5:ArrayOfCustomerTransaction" />
        <xs:element xmlns:q6="http://schemas.datacontract.org/2004/07/SMS.Entities" minOccurs="0" name="serviceError" nillable="true" type="q6:SMSException" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SaveCustomerTransaction">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="userName" nillable="true" type="xs:string" />
        <xs:element xmlns:q7="http://schemas.datacontract.org/2004/07/SMS.Entities" minOccurs="0" name="transaction" nillable="true" type="q7:CustomerTransaction" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SaveCustomerTransactionResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="SaveCustomerTransactionResult" type="xs:int" />
        <xs:element xmlns:q8="http://schemas.datacontract.org/2004/07/SMS.Entities" minOccurs="0" name="serviceError" nillable="true" type="q8:SMSException" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSalesDetail">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="userName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="Sale_ID" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSalesDetailResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q9="http://schemas.datacontract.org/2004/07/SMS.DAL" minOccurs="0" name="GetSalesDetailResult" nillable="true" type="q9:ArrayOfClsSaleDetail" />
        <xs:element xmlns:q10="http://schemas.datacontract.org/2004/07/SMS.Entities" minOccurs="0" name="serviceError" nillable="true" type="q10:SMSException" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>